PATHMac OS 8 and 9 Developer Documentation > Interapplication Communication > AppleScript for Scripters >

AppleScript Language Guide

   

Entering Script Information in Raw Format

You can enter double angle brackets, or chevrons («»), directly into a script by typing Option-Backslash and Shift-Option-Backslash. There are several reasons you might choose to do this:

You can also use AppleScript to insert chevrons into a script, using the following steps:

  1. Create a script using standard terms compiled against an available application or scripting addition.
  2. Save the script as text and quit the Script Editor.
  3. Remove the application or scripting addition from the computer.
  4. Open the script again and compile it.
  5. When AppleScript asks you to locate the application or scripting addition, specify a file that doesn't contain a terminology.

The script will compile successfully, but the Script Editor will display the script with chevron format for any terms that rely on a missing dictionary. (To recompile the script again and supply the correct dictionary, save it as text and quit the Script Editor again, then open and recompile it, specifying the correct application or scripting addition.)

There are several situations in which you might want to recompile a script this way.


© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)